/**   
 * @Title: ParamDataDao.java 
 * CopyRight(c)2010-DMX 
 */
package com.dmx.fw.dao.interfaces;

import java.util.List;

import com.dmx.fw.bean.mapping.pojo.ParameterData;
import com.dmx.fw.dao.interfaces.JdbcDao;

/**
 * 
 * @Description: ParamData Dao interface
 * @author yuzhixin 
 * @date 2010-3-28 
 * modified By:
 * modified Date:
 * Why & What is modified:
 * @version V1.0
 *
 */
public interface ParamDataDao extends JdbcDao{
	
	
	/**
	 * @Description 创建ParameterData
	 * @param paramData
	 * @return Long
	 */
	public Long create(ParameterData paramData);

	/**
	 * @Description 根据ID,删除ParameterData
	 * @param paramDataId
	 */
	public void delete(String paramDataId);
	
	/**
	 * @Description 更新ParameterData
	 * @param paramData
	 */
	public void update(ParameterData paramData);

	/**
	 * @Description 根据ID加载ParameterData
	 * @param paramDataId
	 * @return ParameterData
	 */
	public ParameterData getParamData(String paramDataId);
	
	/**
	 * @Description 判断某一typeCode下name是否唯一
	 * @param typeCode
	 * @param name
	 * @param parmDataId
	 * @return boolean
	 */
	public boolean nameUniqueCheck(final String typeCode,final String name,final long parmDataId);
	
	/**
	 * @Description 判断某一typeCode下code,name是否唯一
	 * @param typeCode
	 * @param name
	 * @param parmDataId
	 * @return boolean
	 */
	public boolean uniqueCheck(final String typeCode,final String code,final String name);
}
